package cn.xiongxf.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class KillParamDTO {

    @NotEmpty(message = "非法请求！")
    private String code;

    @NotNull(message = "非法请求！")
    private Long killCourseId;

    private Long activityId;
}
